iShell Help
Tribeworks > iShell > Commands >
  If
   
The If command controls the conditional execution of a block of commands. Two arguments are compared and the result determines if the nested commands are skipped or executed. If the next command is an Else command, then its block of commands are executed only when the If or Else If comparison is false.

Options

  • Input Argument: The input variable for the function.
  • As: The data type to convert the input into before passing to the function. "..." is the neutral data type that keeps the input arguments type as is.
  • Function: Value is the neutral function that supports all data types - it returns the value of the input argument.
  • Function Argument: The input value for the function